import $http from '../http.js';
export const get_label = (data) => {
	return $http({
		url: 'get_label',
		data
	})
}

export const get_list = (data) => {
	return $http({
		url: 'get_list',
		data
	})
}

export const update_likes = (data) => {
	return $http({
		url: 'update_likes',
		data
	})
}

export const get_search = (data) => {
	return $http({
		url: 'get_search',
		data
	})
}

export const update_label = (data) => {
	return $http({
		url: 'update_label',
		data
	})
}

export const get_detail = (data) => {
	return $http({
		url: 'get_detail',
		data
	})
}

export const update_comments = (data) => {
	return $http({
		url: 'update_comments',
		data
	})
}

export const get_comments = (data) => {
	return $http({
		url: 'get_comments',
		data
	})
}

export const update_author = (data) => {
	return $http({
		url: 'update_author',
		data
	})
}

export const update_thumbsup = (data) => {
	return $http({
		url: 'update_thumbsup',
		data
	})
}